﻿using System;
using UnityEngine;

namespace USClientKernel.MVC
{
    public abstract class BaseView<T, E> : BaseObject 
        where T : BaseData<T>
        where E : ModelEvent<T>
    {
        BaseController<T, E> controller;
        public BaseController<T, E> Controller { get => controller; set => controller = value; }

        public virtual void OnModelEventHandler(E _me)
        {

        }

    }
}
